package com.zelix.bean;

import java.util.HashMap;

public class AnalyClass {
    private String cls;
    private HashMap<String,AnalyMethod> methods;

    public AnalyClass(String cls) {
        this.cls = cls;
        methods =new HashMap<>();
    }

    public void putMethod(String signature,AnalyMethod method) {
        this.methods.put(signature,method);
    }

    public String getCls() {
        return cls;
    }

    public HashMap<String, AnalyMethod> getMethods() {
        return methods;
    }

    @Override
    public String toString() {
        return "AnalyClass{" +
                "cls='" + cls + '\'' +
                ", methods=" + methods +
                '}';
    }
}
